home *** CD-ROM | disk | FTP | other *** search
- This Is A Great Wave Loader That Counts The Amounts Of Waves, And Midis You
- Have Then Selects 1 At Random! The Main Feature In A Wave Loader Is Missing
- Here! That's Right! Gone! I threw It Out! There Is No random.txt File Needed
- Anymore!
-
- Just Stick These Three Lines In Popups Under The Channel Section:
- [POPUPS/CHANNEL]
- WavLoader
- .ON:/timer85 0 300 /f1
- .OFF:/timer85 off
-
- And Stick These Lines In Aliases!
- [Aliases]
- /f1 {
- set %rf $rand(1,2)
- if %rf = 1 { set %rf *.wav | set %tfs $findfile($wavedir,%rf,*) | set %1 $rand(1,%tfs) }
- else { set %rf *.mid | set %tfs $findfile($wavedir,%rf,*) | set %1 $rand(1,%tfs) }
- set %2 $findfile($wavedir,%rf,%1)
- set %wavsize $lof(%2)
- sound # %2 To Get This Type ! $+ $me $nopath(%2)
- me Text Free WavLoader Created by CoolMoFo!
- halt
- }
-
- This section is to auto send waves when someone requests it.. I made it to
- also send ascii art if someone sees 1 that they like they can get it as well!
- The only thing you need to do is put this in events and type this somewhere:
- /set %textdir c:\mirc\text\
- or the directory where you have all your txt files located!
-
- [EVENTS]
- 1:on text:!*:*: {
- if ( $parm1 == ! $+ $me ) goto start
- halt
- :start
- if $right(3,$parm2) == wav || $right(3,$parm2) == mid { set %findfil $findfile($wavedir,$parm2,1) }
- if $right(3,$parm2) == txt set %findfil $findfile(%textdir,$parm2,1)
- if %findfil == $null { goto donthave }
- else goto filesnd
- halt
- :filesnd
- dcc send $nick %findfil
- inc %filesent +1
- notice $nick Here comes $parm2 $+ .. %filesent files sent since 1/10/97!
- notice $nick Auto Sender created by CoolMoFo!
- halt
- :donthave
- notice $nick Sorry $nick $+ ! Unable to locate file $parm2 $+ ! Check your Spelling and try again!
- halt
- }
-
- Thats All there Is To It!
-
- Me And The Rest Of My Possi Can Be Found In #MircsHelp On DalNet!
- More Great Scripts To Come!
- ___ ___ ___ ___ ____ ___
- / / \ / \ | |\ /| / \ | / \ ||
- | | | | | | | \/ | | | |___ | | ||
- | | | | | | | | | | | | | ||
- \___ \___/ \___/ |___ | | \___/ | \___/ ..